package com.wv.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wv.model.system.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SysRoleMenuDao extends BaseMapper<SysRoleMenu> {

    int batchDeleteByRoleId(String roleId);

    int batchInsert(@Param("roleId") String roleId,@Param("menuIds") String[] menuIds);
}
